home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Musik / Misc / Amster / Source / include / chat.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-27  |  667 b   |  38 lines

  1. /*
  2. ** Chat Window Class Header
  3. */
  4.  
  5. #include <sys/types.h>
  6.  
  7. #include "include/mui.h"
  8.  
  9. #ifndef AMSTER_CHAT_H
  10. #define AMSTER_CHAT_H
  11.  
  12. typedef struct channel_struct {
  13.     struct channel_struct *next;
  14.     int joinflag;
  15.     char *name;
  16.     u_long *win;
  17. } *channel, _channel;
  18.  
  19. struct chatdata {
  20.     _channel chn;
  21.     u_long *rect,*chantxt,*topicstr;
  22.     u_long *msglist,*userlist;
  23.     u_long *msgstr;
  24. };
  25.  
  26. MUIF chat_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  27.  
  28. #define CHAT_COMMAND 0x9001
  29.  
  30. #define CHAT_JOINACK 0x9010
  31. #define CHAT_PUBLICMSGRECV 0x9011
  32. #define CHAT_JOINMSG 0x9012
  33. #define CHAT_CHANNELTOPIC 0x9013
  34. #define CHAT_USERPART 0x9014
  35.  
  36.  
  37. #endif    /* AMSTER_CHAT_H */
  38.